package com.sheep.jucdemo.part11.part11_6;

import java.util.List;

/**
 * @Date 2022/5/26 23:40
 * @Created by sheep
 */
public class StrategyOneService implements StrategyService{

    @Override
    public void sendMsg(List<Msg> msgList, List<String> deviceIdeList) {
        for (Msg msg : msgList) {
            msg.setDataId("oneService_" + msg.getDataId());
            System.out.println(msg.getDataId() + " " + deviceIdeList);
        }
    }
}
